<div class="form-group col-md-12 {$form[type].extra_class|default=''}" id="form_group_{$form[type].name}">
  <label for="{$form[type].name}">{$form[type].title}</label>
  <div class="form-controls">
    <select class="form-control selectpicker" id="{$form[type].name}" name="{$form[type].name}" {$form[type].extra_attr|default=''}>
      {volist name="$form[type].options" id="option"}
      <option value="{$key}" {if ($form[type].value == (string)$key)}selected{/if}>{$option|raw|clear_js}</option>
      {/volist}
    </select>
    {notempty name="form[type].remark"}
    <small class="form-text text-muted">{$form[type].remark|raw|clear_js}</small>
    {/notempty}
  </div>
</div>